import moment from 'moment'
export function setTime(e, type = 'YYYY/MM/DD', hours = 0) {
	if (!hours) return moment(e).format(type)
	return moment(e).add(hours, 'hours').format(type)
}

